package net.xju3_4.entity;

public class LoginRegisterEntity {
    private Integer id;
    private  String role;
    private String username;
    private String password;
    private String phone;
    private String realName ;
    private String idCard;
    private String avatarUrl;
    private String driverLicenseEncrypted;
    //商家
    private String address;
    private String merchantName;
    private String contactPerson;
    private String contactPhone;
    private String businessLicense;
    private String logoUrl;

    public LoginRegisterEntity() {
    }

    public LoginRegisterEntity(Integer id, String role, String username, String password, String phone, String realName, String idCard, String avatarUrl, String driverLicenseEncrypted, String address, String merchantName, String contactPerson, String contactPhone, String businessLicense, String logoUrl) {
        this.id = id;
        this.role = role;
        this.username = username;
        this.password = password;
        this.phone = phone;
        this.realName = realName;
        this.idCard = idCard;
        this.avatarUrl = avatarUrl;
        this.driverLicenseEncrypted = driverLicenseEncrypted;
        this.address = address;
        this.merchantName = merchantName;
        this.contactPerson = contactPerson;
        this.contactPhone = contactPhone;
        this.businessLicense = businessLicense;
        this.logoUrl = logoUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getDriverLicenseEncrypted() {
        return driverLicenseEncrypted;
    }

    public void setDriverLicenseEncrypted(String driverLicenseEncrypted) {
        this.driverLicenseEncrypted = driverLicenseEncrypted;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", role='" + role + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", realName='" + realName + '\'' +
                ", idCard='" + idCard + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", driverLicenseEncrypted='" + driverLicenseEncrypted + '\'' +
                ", address='" + address + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", contactPerson='" + contactPerson + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", businessLicense='" + businessLicense + '\'' +
                ", logoUrl='" + logoUrl + '\'' +
                '}';
    }
}

